--- recorditnow-0.8.1/src/mainwindow.cpp.orig	2017-07-09 14:27:15.653631058 +0700
+++ recorditnow-0.8.1/src/mainwindow.cpp	2017-07-09 14:27:42.712300823 +0700
@@ -1114,7 +1114,7 @@
         if (m_zoomDock) {
             removeDockWidget(m_zoomDock);
             delete m_zoomDock;
-            m_zoomDock = false;
+            m_zoomDock = 0;
         }
     }
 
